package com.example.supplychainbackend.dao.plan;

import com.example.supplychainbackend.entity.plan.PlanOrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface PlanOrderDao extends JpaRepository<PlanOrderEntity, String> {
    PlanOrderEntity findByWorkOrderNumber(String workOrderNumber);
    Long deleteByWorkOrderNumber(String workOrderNumber);
    //String findSalesOrderNoByWorkOrderNumber(String workOrderNumber);
    PlanOrderEntity findBySalesOrderNo(String SalesOrderNo);
}
